<?php

/**
 * Index Class
 * @package mobi.application.modules.admin
 * @author xoannt
 */
class Index extends MY_Controller{
/**
 * construct
 * 
 * @access public
 */
    public function __construct() {
        parent::__construct();
    }
/**
 * index admin
 * 
 * @access public
 */
    public function index()
    {
        redirect('admin/order/repost');
    }
/**
 * user logout
 * 
 * @access public
 */
    public function logout()
    {
        $this->session->unset_userdata('username');
        redirect("admin/login");
    }
/**
 * index admin
 * 
 * @access public
 * @param type $name Description
 * @return type Description
 */
    }
 
